﻿using MyCode.Project.Infrastructure.Common;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MyCode.Project.Domain.Message.Request.Clerk
{
    public class ClerkRequst
    {
        /// <summary>
        /// 店铺ID:选择的店铺ID，或当前登录用户所属店铺ID
        /// </summary>
        public Guid? ShopID { get; set; }

        /// <summary>
        /// 搜索关键字
        /// </summary>
        public string KeyWord { get; set; }

        /// <summary>
        /// Desc:搜索条件 -1:全员 1:店长0:店员
        /// Default:
        /// Nullable:False
        /// </summary>           
        public int ShopFlag { get; set; }
    }

    public class EditClerkRequst
    {
        /// <summary>
        /// 主键ID 新增店员，不需要该字段
        /// </summary>
        public Guid? ID { get; set; }

        /// <summary>
        /// 工号
        /// </summary>
        public string Code { get; set; }

        /// <summary>
        /// 姓名
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 手机号码
        /// </summary>
        public string Mobile { get; set; }

        /// <summary>
        /// 归属店铺ID
        /// </summary>
        public Guid? ShopID { get; set; }

        /// <summary>
        /// 是否店长。1=是；0=否。
        /// </summary>
        public int? ShopFlag { get; set; }        

        /// <summary>
        /// 状态 1：在职 0：离职
        /// </summary>
        public int? Status { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Note { get; set; }
    }

}
